package com.xinqi.modules.course.clazz.dto.req;

import com.xinqi.common.green.annotation.Text;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 班级表-请求对象
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
@Schema(name = "班级表-修改")
public class ClassUpdateNewDTO implements Serializable {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 课程ID
     */
    private Long courseId;
    /**
     * 班级名称
     */
    @Text
    @NotBlank(message = "请输入班级名称")
    private String name;

}
